<?php
/**
 * Created by JiangJiaCai.
 * User: Administrator
 * Date: 2017/7/19 0019
 * Time: 20:40
 */

namespace App\Http\Controllers;


use com_jjcbs\lib\ServiceFactory;
use ext\service\ConfigServiceImpl;

class BaseController extends Controller
{
    protected $model = [];
    public function __construct()
    {
        $configServiceImpl = ServiceFactory::getInstance(ConfigServiceImpl::class);
        $this->model['config'] = $configServiceImpl->getSystemConfig();
        $this->model['title'] = '';
    }
}